package net.huashitong.Indicators.service;

import net.huashitong.Indicators.dao.AnalysisDao;
import net.huashitong.Indicators.entity.Analysis;
import net.huashitong.Indicators.filter.IndicatorBreakdownFilter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;

@Service
public class AnalysisService extends StringPKService<Analysis> {

	@Autowired
	private AnalysisDao dao;
	@Override
	protected BaseDao<Analysis, String> getDao() {
		return dao;
	}
	public Analysis getByIndIdAndDate(IndicatorBreakdownFilter filter) {
		return dao.getByIndIdAndDate(filter);
	}

}
